package cn.wei.sdd.core.service;

import cn.wei.sdd.core.pojo.entity.BannerInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Wei
 * @since 2021-10-07
 */
public interface BannerInfoService extends IService<BannerInfo> {

    void addBannerInfo(BannerInfo bannerInfo);

    void lock(Long id, Integer status);

    IPage<BannerInfo> listPage(Page<BannerInfo> pageParam);

    List<BannerInfo> listAll();

}
